package chapter02.test06;

public class Grade {
    public static void main(String[] args){

        int score=(int)(Math.random()*100);
        if (score >=85)
            System.out.println("A");
        else if (score >=70)
            System.out.println("B");
        else if (score >=60)
            System.out.println("C");
        else if (score <60)
            System.out.println("D");


    }
}

